<h2 class="contentTitle">Edit Image</h2>

<div class="contentBody">
<fieldset>
<div class="instructions"><h4>Instructions for Adding Images</h4>
<p>WiganWarriorsFans.com maintains a database of images associated with the club.  Each image is either taken and uploaded by users of the site or is a cached copy of an image taken from another site.  To add images to the WiganWarriorsFans.com database you should fill in the form on this page.  Your image will then appear on the Images section of the site.</p>
<p>Please ensure that the image you are entering does not already exist on the site.  <b>You must check the <a href="<TMPL_VAR NAME=CGI_BASE_URL>s=Images">images page</a> before you post a new image using this page</b>.  Duplicate images will be removed and any user repeatedly duplicating information will have their posting permissions removed.</p>
<p>If you are uploading your own image, please ensure that your description contains only facts and not rumours or opinions.  Do not use a conversational tone, write your piece as if you were a newpaper or web journalist.  Any user submissions that do not meet these guidelines will be removed by the site's moderators.  You do not need to fill in the Source or Page URL fields of the form if you are uploading your own image.  All copyright for the image will remain with you as the photographer.</p>
<p>If you are adding an image that you have found on another internet site, you must fill in the Source and the Page URL fields of the form.  Failure to do this will lead to your image being removed from this site.  This restriction is for copyright reasons.</p>
<p>Please ensure that you highlight any other news stories or matches that are related to the story you are adding.  This allows the site to display relevant content next to the story you have entered.</p></div>


<TMPL_VAR NAME=_OBJECT_UPDATE_ERROR_>
<table class="contentTable">

<tr>
<th colspan=2 align=center>
EITHER: UPLOAD YOUR OWN IMAGE
</th>
</tr>
<tr>
<td class="label">Upload Image:</td>
<td><input type=file name="IMAGE_UPLOAD" size=60 class="dataentry">
<TMPL_VAR NAME=_OBJECT_UPDATE_ERROR_IMAGE_UPLOAD_><br>
<small>If the image is on your own computer, this field can be used to upload it onto the WiganWarriorsFans.com site.  To do this: click the "Browse" button and select the image you wish to upload. <a href="javascript:help('Offsite.ImageUpload');">How/When do I upload and image?</a></small>
</td>
</tr>
<tr>
<th colspan=2 align=center>
OR: UPLOAD AN IMAGE FROM ANOTHER SITE
</th>
</tr>
<tr>
<td class="label">Image URL:</td>
<td><input type=text name="IMAGE_URL" value="<TMPL_VAR NAME=IMAGE_URL>" size=80 class="dataentry">
<TMPL_VAR NAME=_OBJECT_UPDATE_ERROR_IMAGE_URL_><br>
<small>The URL of the image. <a href="javascript:help('Offsite.Image');">What is an Image URL?</a> <b>ONLY fill in this field if you have found the image on another internet site.</b></small>
</td>
</tr>
<tr>
<td class="label">Source:</td>
<td><select name="FK_NEWSSOURCE_ID" class="dataentry">
<option value="">Please Select...</option>
<TMPL_VAR NAME=NEWSSOURCE_NEWSSOURCE_OPTIONS>
</select><br>
<input type=button class="button" value="Edit" onclick="javascript:editObject('<TMPL_VAR NAME=FK_NEWSSOURCE_ID>','NEWSSOURCE');">
<input type=button class="button" value="Add Source" onclick="javascript:addObject('NEWSSOURCE','');"> <small><a href="javascript:help('Offsite.Image');">What are Sources?</a> <b>ONLY fill in this field if you have found the image on another internet site.</b></small></td>
</tr>
<tr>
<td class="label">Page URL:</td>
<td><input type=text name="IMAGE_ORIGURL" value="<TMPL_VAR NAME=IMAGE_ORIGURL>" size=80 class="dataentry"><br>
<small>The URL of the original page the image was displyed on. <a href="javascript:help('Offsite.Image');">What is a Page URL?</a> <b>ONLY fill in this field if you have found the image on another internet site.</b></small></td>
</tr>
	<tr>
	<td class="label">Image Preview:</td>
	<td><div class=imageholder style="width: <TMPL_VAR NAME=IMAGE_DIVWIDTH>;"><img src="<TMPL_VAR NAME=IMAGE_URL>" width="<TMPL_VAR NAME=IMAGE_XSIZE>" height="<TMPL_VAR NAME=IMAGE_YSIZE>" class="image"></div></td>
	</tr>
<tr>
<td class="label">Caption:</td>
<td><textarea rows=1 cols=60 name="IMAGE_CAPTION" class="dataentry"><TMPL_VAR NAME=IMAGE_CAPTION></textarea>
<TMPL_VAR NAME=_OBJECT_UPDATE_ERROR_IMAGE_CAPTION_><br>
<small>A short caption for the image (no more than 7 or 8 words)</small></td>
</tr>
<tr>
<td class="label">Date:</td>
<td><input type=text name="IMAGE_DATE" value="<TMPL_VAR NAME=IMAGE_DATE>" size=40 class="dataentry"><br>
<small>Date image was taken, format: yyyy-mm-dd</small></td>
</tr>
<tr>
<td class="label">Description:</td>
<td><textarea rows=10 cols=60 name="IMAGE_DESCRIPTION" class="dataentry"><TMPL_VAR NAME=IMAGE_DESCRIPTION></textarea>
<TMPL_VAR NAME=_OBJECT_UPDATE_ERROR_IMAGE_DESCRIPTION_><br>
<small>A full description of the content of the image.</small></td>
</tr>
<tr>
<td class="label">Size:</td>
<td>x: <input type=text name="IMAGE_XSIZE" value="<TMPL_VAR NAME=IMAGE_XSIZE>" size=8 class="dataentry">
<TMPL_VAR NAME=_OBJECT_UPDATE_ERROR_IMAGE_XSIZE_>
<br>
y: <input type=text name="IMAGE_YSIZE" value="<TMPL_VAR NAME=IMAGE_YSIZE>" size=8 class="dataentry">
<TMPL_VAR NAME=_OBJECT_UPDATE_ERROR_IMAGE_YSIZE_><br>
<small>Size of the image in pixels</small></td>
</tr>
<tr>
<td class="label">Link Text:</td>
<td><input type=text name="OBJECT_LINKS" value="<TMPL_VAR NAME=OBJECT_LINKS>" size=60 class="dataentry"><br>
<small>Type the names of the players or staff that are in the picture separated by commas. For exmaple "Kris Radlinksi,Brian Noble".  This will allow the site to display the picture next to other content about the players.</small></td>
</tr>
		<tr>
		<th colspan=2>Related Content</th>
		</tr>
<tr>
<td class="label">Related News:</td>
<td><select name="RELATED_NEWS" multiple class="dataentry" size=7>
<TMPL_VAR NAME=RELATED_OPTIONS_NEWS>
</select>
<TMPL_VAR NAME=_OBJECT_UPDATE_ERROR_RELATED_NEWS_></td>
</tr>
<tr>
<td class="label">Related Matches:</td>
<td><select name="RELATED_MATCHSTATS" multiple class="dataentry" size=5>
<TMPL_VAR NAME=RELATED_OPTIONS_MATCHSTATS>
</select>
<TMPL_VAR NAME=_OBJECT_UPDATE_ERROR_RELATED_MATCHSTATS_></td>
</tr>
</table>
<div class="submit">
<input type=button class="button" onClick="updateObject('IMAGE','<TMPL_VAR NAME=o>','<TMPL_VAR NAME=p>');" value="Update &raquo;">
</div>
</fieldset>
</div>

<TMPL_VAR NAME=OBJECT_WIKI_HTML>

<TMPL_VAR NAME=OBJECT_MODERATOR_HTML>

<TMPL_VAR NAME=OBJECT_ADMIN_HTML>

<TMPL_VAR NAME=OBJECT_SUPERADMIN_HTML>

<TMPL_VAR NAME=OBJECTS> 
